package com.howard.webapp.familymanagement.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/disease")
public class DiseaseController {
	@RequestMapping(value = "/default", method = RequestMethod.POST)
	public String defaultPage(@RequestParam("loginId") String loginId, ModelMap model) {
		System.out.println("===========disease(),loginId="+loginId);
		model.put("dis", "aabbcc");
		return "/disease/diseaseList";
	}
}